package cn.study.vue_project_xxx.service;

import cn.study.vue_project_xxx.entity.dto.TAdminRoleDTO;
import cn.study.vue_project_xxx.entity.po.TAdminRole;
import cn.study.vue_project_xxx.util.PageParam;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (TAdminRole)表服务接口
 *
 * @author makejava
 * @since 2023-04-25 09:53:59
 */
public interface TAdminRoleService extends IService<TAdminRole> {

    Boolean addAdminRole(TAdminRole adminRole);

    Boolean updateAdminRole(TAdminRole adminRole);

    Boolean deleteAdminRole(List<Integer> roleId);

    Page<TAdminRole> selectAdminRole(Integer adminId, Page<TAdminRole> pageParam);
}

